package com.java.star.mall.front.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 自定义图片访问配置
 */
@Component
@ConfigurationProperties(prefix = "starmall.image")
@Data
public class ImageProperties {

    //图片存储路径
    private String storagePath;

    //图片访问地址
    private String url;
}
